Compaq Portable II - Keyboard Pinouts:
Keyboard is AT-compatible (same as PS/2).
Not sure if motherboard connector also supports XT protocol.
===

PS/2 Keyboard Pinout:
(with one of many possible wire colour combinations)
(These colours are from Assmann AK323-2 coiled cable)
1 - Data (black)
2 - N/C (brown)
3 - GND (red)
4 - VCC (orange)
5 - Clock (yellow)
6 - N/C (green)

===

J1 header on keyboard PCB:
(key tronic 01-03146-201)
6 - N/C (conected to GND/shield on PCB)
5 - missing pin
4 - VCC (brown)
3 - GND (green)
2 - Data (black)
1 - Clock (white)

===

Keyboard connector:
(Looking into the female header)
(Header encased in metal LAN-like shell)

(top of connector)
1|2|3
4|5|6
(motherboard PCB)

1 - VCC
2 - Data
3 - Clock
4 - GND
5 - N/C
6 - N/C (Connected to GND on motherboard)